home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / XML Utilities / Professional Programmer XSL IDE / Xselerator25.msi / Data.Cab / F33918_allTrueP.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-20  |  755 b   |  24 lines

  1. <xsl:stylesheet version="1.0" 
  2. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:saxon="http://icl.com/saxon"
  4. >
  5.   <xsl:import href="map.xsl"/>
  6.   <xsl:import href="allTrue.xsl"/>
  7.  
  8.   <xsl:template name="allTrueP">
  9.     <xsl:param name="pList" select="/.."/>
  10.     <xsl:param name="pPredicate" select="/.."/>
  11.     
  12.     <xsl:variable name="vMappedList">
  13.       <xsl:call-template name="map">
  14.         <xsl:with-param name="pFun" select="$pPredicate"/>
  15.         <xsl:with-param name="pList1" select="$pList"/>
  16.       </xsl:call-template>
  17.     </xsl:variable>
  18.     
  19.     <xsl:call-template name="allTrue">
  20.       <xsl:with-param name="pList" select="saxon:node-set($vMappedList)/*"/>
  21.     </xsl:call-template>
  22.   </xsl:template>
  23. </xsl:stylesheet>
  24.